Fix C99-ism in tef_xml.c
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 6 May 2005 17:57:28 +0000 (17:57 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 6 May 2005 17:57:28 +0000 (17:57 +0000)
gpsbabel/Makefile
gpsbabel/tef_xml.c

index ed4403a9723b1ebd3885e49eaa0f62a5dcf4555b..944dfe852272ef4dc5f597773cbe0c0d71dd22b9 100644 (file)
@@ -91,8 +91,8 @@ dep:
        (echo -n "internal_styles.c: mkstyle.sh " ; echo style/*.style ; /bin/echo -e '\t./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1)' ) >> /tmp/dep
        echo Edit Makefile and bring in /tmp/dep
 
-VERSIONU=1_2_6-beta04302005c-gsak+jamiez
-VERSIOND=1.2.6_beta04302005c-gsak+jamiez
+VERSIONU=1_2_6-beta05062005-marky
+VERSIOND=1.2.6_beta05062005-marky
 # VERSIONU=1_2_5
 # VERSIOND=1.2.5
 
index b53b4cc3a16a66e2a8e7a918317e4fed3cc8afb9..0ab535c165949d9488d7eb9ef3fc431bbfd3b867 100644 (file)
@@ -228,10 +228,11 @@ tef_item_start(const char *args, const char **attrv)
 void 
 tef_point(const char *args, const char **attrv)
 {
-       if (!wpt_tmp) return;
-       
         const char **avp = &attrv[0];
        char *comma;
+
+       if (!wpt_tmp) return;
+       
         while (*avp) 
        {
            if (strcmp(avp[0], "y") == 0)